import request from '@/utils/request'

//账号密码登录
export const Getloginteacher = (data)=>{
	return request({
		url: '/Bslm/api/user_login2',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'text/plain;charset=utf-8'
		}
	  })
}
//获取进行中的联考列表成功  public int type;//考试 未开始0 进行中1 已结束2  
export const getSchoolExamRecord2Api = (data)=>{
	return request({
		url: '/Bslm/api/getNav4sAll',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'text/plain;charset=utf-8'
		}
	  })
}
//退出
export const loginQuestion = ()=>{
	return request({
		url: '/Bslm/api/logout',
		method: 'post',
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//获取考试学科
export const hqexamlist = (data) =>{
	return request({
		url: 'Bslm/Navs/findNavsByPid',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'multipart/form-data'
		}
	})
}
//上报信息
export const reportProgressapi = (data) =>{
	return request({
		url: 'Bslm/itemcases/selectGrades',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'multipart/form-data'
		}
	})
}
//上传答题卡进度
export const answerprogressjk = (data) =>{
	return request({
		url: 'Bslm/ItemCases/selectUploadProgress',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'multipart/form-data'
		}
	})
}
//阅卷进度
export const gradingprogressjk2 = (data) =>{
	return request({
		url: 'Bslm/ItemCases/selectTaskProgress3',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'multipart/form-data'
		}
	})
}
//单个学科编辑
export const exameditnav = (data) =>{
	return request({
		url: 'Bslm/Navs/editNav',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'multipart/form-data'
		}
	})
}
//分配任务列表
export const taskflagsource = (data) =>{
	return request({
		url: 'BslmItemCases/selectFlagSources',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'multipart/form-data'
		}
	})
}
//创建项目
export const createExam = (data)=>{
	return request({
		url: '/Bslm/api/createNav',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//获取项目列表
export const getExamList = (data)=>{
    return request({
		url: '/Bslm/api/searchNav4s',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//获取项目概括 searchNav5ById
export const getExamview = (data)=>{
    return request({
		url: '/Bslm/api/searchNav5ById',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//获取学科列表 
export const getSubjectslist = (data)=>{
    return request({
		url: '/Bslm/api/getSubjects',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//
export const getSchoollist = (data)=>{
    return request({
		url: '/Bslm/api/getAllSchools',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
// 创建考试
export const addExamsubject = (data)=>{
    return request({
		url: '/Bslm/api/createNav6',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//绑定学校
export const getAllschoolSubject = (data)=>{
    return request({
		url: '/Bslm/api/getSchoolsByNav6',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//点击不联阅 createGroup_Nav6LyType
export const getAllschoolSubjectNomark = (data)=>{
    return request({
		url: '/Bslm/api/createGroup_Nav6LyType',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//不联阅分题关闭
export const getAllschooldeleteGroup = (data)=>{
    return request({
		url: '/Bslm/api/deleteGroup_Nav6LyType',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//单科绑定学校
export const addsubjectSchoolToNav6 = (data)=>{
    return request({
		url: '/Bslm/api/addSchoolToNav6',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//删除删除单学科绑定单个学校 且删除联阅状态
export const deletesubjectSchoolToNav6 = (data)=>{
    return request({
		url: '/Bslm/api/deleteGroup_Nav6AndGroup_Nav6LyType',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//获取项目下所有的学校
export const examschoolapi= (data)=>{
    return request({
		url: '/Bslm/api/searchSchoolsById',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//获取学校下考试明细 
export const examschoolapidetails= (data)=>{
    return request({
		url: '/Bslm/api/getNav6sBySchool',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//通过学科获取套卷学科的名字
export const subjectidtjsubject= (data)=>{
    return request({
		url: '/Bslm/api/getNav6sOnTstype1',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//获取学生列表
export const getStudentlist= (data)=>{
    return request({
		url: '/Bslm/api/searchStudentsByNav5',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//获取项目下绑定的所有学校
export const getexamallschool= (data)=>{
    return request({
		url: '/Bslm/api/getSchoolsByNav5',
		method: 'post',
		data,
		headers: { 
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//获取当下学校的所有班级
export const getexamallschoolClasslist= (data)=>{
    return request({
		url: '/Bslm/api/getClassnameByGradeId',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//删除单个学校绑定学科且删除连阅状态
export const deleteschoolsubject= (data)=>{
    return request({
		url: '/Bslm/api/deleteGroup_Nav6AndGroup_Nav6LyType2',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//根据选科获取学科列表
export const getsubjectStudent= (data)=>{
    return request({
		url: '/Bslm/api/searchStudentsByNav6',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//参试学生通过学科筛选
export const getsubjectnavsix= (data)=>{
    return request({
		url: '/Bslm/api/getNavs6',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//单个学生添加
export const singlestudentadd= (data)=>{
    return request({
		url: '/Bslm/api/saveGroupStudent',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//获取教师列表searchTeachersByNav5
export const getteacherlist= (data)=>{
    return request({
		url: '/Bslm/api/searchTeachersByNav5',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//密码策略
export const teacherfixedpassword= (data)=>{
    return request({
		url: '/Bslm/api/updatePasswordByNav5Id',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//单个添加老师
export const getaddteacher= (data)=>{
    return request({
		url: '/Bslm/api/saveGroupTeacher',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//删除老师和学生"userids"
export const deleteTeacherStudent= (data)=>{
    return request({
		url: '/Bslm/api/deleteTeacherById',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//批量删除学科以及关联的模版和学校 
export const deleteSubjectModel= (data)=>{
    return request({
		url: '/Bslm/api/deleteNav6sAndGroup_Nav6AndGroup_Nav6LyType',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//新增模板
export const createModelAdd= (data)=>{
    return request({
		url: '/Bslm/api/createItemCaseFlag',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//获取模板列表
export const modelItemcaselist= (data)=>{
    return request({
		url: '/Bslm/api/searchItemCaseFlagsByNav5',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//上传模板
export const uploadcardImage= (data)=>{
    return request({
		url: '/Bslm/api/uploadItemCaseFlagImg',
		method: 'post',
		data,
		headers: {
		   'Content-Type': 'multipart/form-data'
		}
	})
}
//删除模板
export const deletecardImage= (data)=>{
    return request({
		url: '/Bslm/api/deleteImgFile',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//获取模版主观题小题
export const getSubjectiveQuestions= (data)=>{
    return request({
		url: '/Bslm/api/searchSourceflagByItemcaseflagId2',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//获取模版客观题小题
export const getObjectiveQuestions= (data)=>{
    return request({
		url: '/Bslm/api/searchPressflagByItemcaseflagId',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//批量删除主观题
export const batchdeleteSubjetive= (data)=>{
    return request({
		url: '/Bslm/api/deleteSourceflagById',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//批量删除客观题
export const batchdeleteobjetive= (data)=>{
    return request({
		url: '/Bslm/api/deletePressflagById',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//编辑主观题
export const editsubjective= (data)=>{
    return request({
		url: '/Bslm/api/createSourceFlag',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//复制项目
export const copyprojectMange= (data)=>{
    return request({
		url: '/Bslm/api/copyNavByType',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
// 保存模板小图 
export const saveModelSmallCaseImage= (data)=>{
    return request({
		url: '/Bslm/api/createSourceFlagAndPressFlag',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//复用考试列表
export const copyexamlistubject= (data)=>{
    return request({
		url: '/Bslm/api/searchNav4sAndNav5s',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
// 保存复用模板
export const savemodelflagcase= (data)=>{
    return request({
		url: '/Bslm/api/copyItemcaseFlag',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//获取模板列表
export const searchltemcaseFlagNamesByNav5ldmodel= (data)=>{
    return request({
		url: '/Bslm/api/searchItemcaseFlagNamesByNav5Id',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//绑定模板保存
export const updateItemcaseFlagByNav6model= (data)=>{
    return request({
		url: '/Bslm/api/updateItemcaseFlagByNav6',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//保存图片模板 
export const saveitemcaseflagImage= (data)=>{
    return request({
		url: '/Bslm/api/updateItemCaseFlag',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//获取模板图片
export const getitemcaseflagImage= (data)=>{
    return request({
		url: '/Bslm/api/getItemCaseFlagInfo',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//获取模板数据
export const getmodeldatae= (data)=>{
    return request({
		url: '/Bslm/api/getItemCaseFlagInfo2',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//复用模板保存
export const copymodelflagebox= (data)=>{
    return request({
		url: '/Bslm/api/copyNav6AndItemcaseFlag',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//批量删除模板
export const batchdeletemodelcard= (data)=>{
    return request({
		url: '/Bslm/api/DeleteItemcaseflagByIds',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//项目删除
export const projectdelete= (data)=>{
    return request({
		url: '/Bslm/api/DeleteNavById',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//批量导入教师，学生
export const uploadstudentTeacherlists = (data)=>{
    return request({
		url: '/Bslm/api/uploadAndimportExcel',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'multipart/form-data'
		}
	})
}
//编辑项目
export const updateNavEdit = (data)=>{
    return request({
		url: '/Bslm/api/updateNav',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//新增客观题
export const addobjectquestion = (data)=>{
    return request({
		url: '/Bslm/api/createSourceFlagByType',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}
//编辑客观题
export const editupdatePressFlag = (data)=>{
    return request({
		url: '/Bslm/api/updatePressFlag',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json;charset=utf-8'
		}
	})
}




















//阅卷进度
export const gradingprogressjk1 = (data) =>{
 	return axios({
 		method:'post',
 		url:baseUrl1 +'/ItemCases/selectTaskProgress',
 		data,
 		headers: {
 		   'Content-Type':'multipart/form-data'
 		}
 	})
}
// 阅卷小题进度
export const itemCasesfindTaskByGroup4 = (data) =>{
 	return axios({
 		method:'post',
 		url:baseUrl1 +'/ItemCases/findTaskByGroup4',
 		data,
 		headers: {
 		   'Content-Type':'multipart/form-data'
 		}
 	})
}
export const gradingprogressjk = (data) =>{
 	return axios({
 		method:'post',
 		url:baseUrl1 +'/ItemCases/selectTaskProgress2',
 		data,
 		headers: {
 		   'Content-Type':'multipart/form-data'
 		}
 	})
}
//成绩下载
export const scoredownloadjk = (data) =>{
 	return axios({
 		method:'post',
 		url:baseUrl1 +'/ItemCases/findGroupRecord',
 		data,
 		headers: {
 		   'Content-Type':'multipart/form-data'
 		}
 	})
}
//下载整体成绩
export const downAllachievement = (data) =>{
 	return axios({
 		method:'post',
 		url:baseUrl1 +'/itemcases/ExportUsersFromGroup3',
 		data,
 		headers: {
 			'Content-Type':'multipart/form-data'
 		}
 	})
}

//获取参加地区卷记录的所有学校成功
export const getSchoolsExamRecordByNavid5Api = (data)=>{
	return axios({
		method:'post',
		url:baseUrl +'/getSchoolsExamRecordByNavid5',
		data,
		headers: {
		   'Content-Type':'text/plain;charset=utf-8'
		}
	})
}

//成绩筛选
export const scoreGetnavs = (data) =>{
	return axios({
		method:'post',
		url:baseUrl +'/getNavs5',
		data,
		headers: {
		   'Content-Type':'application/x-www-form-urlencoded'
		}
	})
}
//给学校分配任务
export const schoolTasknumber = (data) =>{
 	return axios({
 		method:'post',
 		url:baseUrl1 +'/group/find',
 		data,
 		headers: {
 			'Content-Type':'multipart/form-data'
 		}
 	})
}
//分配任务添加数量
export const addschoolTasknumber = (data) =>{
 	return axios({
 		method:'post',
 		url:baseUrl1 +'/group/updateAddnum',
 		data,
 		headers: {
 			'Content-Type':'multipart/form-data'
 		}
 	})
}
// 获取科目列表
export const analysisSubjectList = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/analysis/subject/list',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 成绩下载
export const downloadExcel = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/download/excel',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 联考各校上报人数列表
export const groupList = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/group/list',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 上传上报excel
export const groupImport = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/group/import',
		data,
		headers: {
			'Content-Type':'multipart/form-data'
		}
	})
}
// excel列表
export const analysisStuScoreExcelDownloadPage = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/analysis/stu/score/excel/download/page',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 删除excel
export const analysisStuScoreExcelDownloadDelete = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/analysis/stu/score/excel/download/delete',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 各科小题分
export const analysisClassSmallQuestionScore = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/analysis/class/small/question/score',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 成绩排名
export const analysisAllScoreDirectionRank = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/analysis/allScore/direction/rank',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 学校列表
export const groupExamList = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/group/exam/list',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 查询试卷原题
export const paperQuestionPage = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/paper/question/page',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 科目原卷上传pdf
export const paperOriginalUpload = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/paper/original/upload',
		data,
		headers: {
			'Content-Type':'multipart/form-data'
		}
	})
}
// 新建/管理原题切片
export const paperPictureSelect = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/paper/picture/select',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 原题切片（截图录入原题）
export const paperQuestionCut = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/paper/question/cut',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 删除题目
export const paperQuestionDelete = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/paper/question/delete',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 获取考试列表
export const paperExamPage = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/paper/exam/page',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 查询考试科目
export const paperSubjectList = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/paper/subject/list',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 上传文件
export const uploadFile = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/upload/file',
		data,
		headers: {
			'Content-Type':'multipart/form-data'
		}
	})
}
// 上传答案
export const paperExplanationUpload = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/paper/explanation/upload',
		data,
		headers: {
			'Content-Type':'multipart/form-data'
		}
	})
}
// 答案解析查看
export const paperSubjectExplanationSelect = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/paper/subject/explanation/select',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 答案解析删除
export const paperSubjectExplanationDelete = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/paper/subject/explanation/delete',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 地区卷列表
export const navAreaList = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/nav/area/list',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 难度管理列表
export const degreeList = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/degree/list',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 删除难度
export const degreeDelete = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/degree/delete',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 难度编辑
export const degreeEdit = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/degree/edit',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 题型管理列表
export const questionTypePage = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/question/type/page',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 题型编辑
export const questionTypeEdit = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/question/type/edit',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 题型删除
export const questionTypeDelete = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/question/type/delete',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 知识点树形
export const knowledgeGet = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/knowledge/get',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 编辑知识点
export const knowledgeEdit = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/knowledge/edit',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 删除知识点
export const knowledgeDelete = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/knowledge/delete',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 细目表列表
export const paperQuestionDetailPage = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/paper/question/detail/page',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 细目表编辑
export const paperQuestionDetailEdit = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/paper/question/detail/edit',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 细目表删除
export const paperQuestionDetailDelete = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/paper/question/detail/delete',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 地区列表
export const regionGet = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/region/get',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 原题获取相似题
export const errorBookQuestionSame = (data,token) =>{
	console.log(token,'poooooooooooooooooooooooooooooo');
	return axios({
		method:'post',
		url:baseUrl2 +'/error/book/question/same',
		data,
		headers: {
			'Content-Type':'application/json',
			'Authorization':token
		}
	})
}
// 科目原题列表
export const paperQuestionList = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/paper/question/list',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 根据SID获取相似题
export const jyQuestionSame = (data,token) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/jy/question/same',
		data,
		headers: {
			'Content-Type':'multipart/form-data',
			'Authorization':token
		}
	})
}
// 原题相似题列表
export const errorBookQuestionList = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/error/book/question/list',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 原题编辑相似题
export const errorBookQuestionEdit = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/error/book/question/edit',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 原题相似题删除
export const errorBookQuestionDelete = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/error/book/question/delete',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 相似题重置筛选-条件
export const jyParamSearch = (data,token) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/jy/param/search',
		data,
		headers: {
			'Content-Type':'application/json',
			'Authorization':token
		}
	})
}
// 相似题重置筛选-关键字
export const jyKeywordSearch = (data,token) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/jy/keyword/search',
		data,
		headers: {
			'Content-Type':'application/json',
			'Authorization':token
		}
	})
}
// 相似题重置筛选-拍照
export const jyPictureQuesSearch = (data,token) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/jy/picture/ques/search',
		data,
		headers: {
			'Content-Type':'multipart/form-data',
			'Authorization':token
		}
	})
}
// 细目表导入
export const paperQuestionDetailUpload = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/paper/question/detail/upload',
		data,
		headers: {
			'Content-Type':'multipart/form-data'
		}
	})
}
// 菁优登陆获取token
export const jyLogin = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/jy/login',
		data,
		headers: {
			'Content-Type':'multipart/form-data'
		}
	})
}
// 获取题目知识点
export const questionDetailGetById = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/paper/question/detail/getById',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 更新错题本状态
export const errorBookOperation = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/error/book/operation',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 生成科目错题本
export const errorBookGeneratePdf = (data) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/error/book/generate/pdf',
		data,
		headers: {
			'Content-Type':'application/json'
		}
	})
}
// 获取账号解析量
export const jyVisitNum = (token) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/jy/visit/num',
		headers: {
			'Content-Type':'application/json',
			'Authorization':token
		}
	})
}

// 获取相似题解析
export const jyQuesAnalyse = (data,token) =>{
	return axios({
		method:'post',
		url:baseUrl2 +'/jy/ques/analyse',
		data,
		headers: {
			'Content-Type':'multipart/form-data',
			'Authorization':token
		}
	})
}

